package org.example.StudentManagementSystem.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.sql.Date;

@Schema(description = "成绩数据传输对象")
@Setter
@Getter
public class GradeDTO {
    @Schema(description = "成绩ID", example = "1")
    private Integer id;

    @Schema(description = "学生ID", example = "2023001")
    private Integer studentId;

    @Schema(description = "学生姓名", example = "张三")
    private String studentName;

    @Schema(description = "课程ID", example = "101")
    private Integer courseId;

    @Schema(description = "课程名称", example = "计算机科学")
    private String courseName;

    @Schema(description = "成绩", example = "95")
    private Integer grade;

    @Schema(description = "录入时间", example = "2023-10-01")
    private Date enterTime;
}
